import React, { Component } from 'react'
// import Child from './child'
import New from './NewChlid'

export default class index extends Component {
  state = {
    count: 20,
    isShow: true
  }
  render () {
    return (
      <div>
        index
        {/* {this.state.isShow && <Child count={this.state.count} />} */}
        {this.state.isShow && <New count={this.state.count} />}
        {/* <New Children={() => {
          return <div></div>
        }} /> */}
      </div>
    )
  }
}
